/**
 *  主煤流运输 api
 *  @module api/transportation
 *  @author coder
 */

// API_HOST
import {
	API_HOST
} from '@/config'

// axios
import axios from '@u/axios'

/**
 * 带班人员
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const leaderInfo = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/integratedControl/transport/leaderInfo'
})

/**
 * 设备运行状态
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const runningState = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/integratedControl/transport/runningState'
})

/**
 * 皮带运行情况
 * @param {object} [data] 发送键值对数据
 * @returns {promise}
 */
export const beltRunningInfo = (data) => axios({
	method: 'get',
	data: data,
	url: API_HOST + '/integratedControl/transport/beltRunningInfo'
})